<?php

namespace App\Http\Requests\Company\License;
use App\Http\Requests\Request;

class CreateRequest extends Request {
    public function authorize(){
        return true;
    }
    public function rules(){
        return [
            'company_name'=>'required',
            'uid'=>'required',
            'com_id'=>'required',
        ];
    }
    public function messages(){
        return [
            'company_name.required'=>'企业名称不能为空',
            'uid.required'=>'企业用户不存在',
            'com_id.required'=>'企业ID不存在',
        ];
    }
}